package com.example.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2022-02-19 15:55:08
 */
@Data
public class Order implements Serializable {
    private static final long serialVersionUID = -36673356496775011L;
    /**
     * ID
     */
    @ExcelIgnore // 生成报表时忽略，不生成次字段
    private Integer id;
    /**
     * 学生姓名
     */
    @ExcelProperty(value = "学生姓名", index = 0) // 定义表头名称和位置,0代表第一列
    private String stuname;
    /**
     * 所属学院
     */
    @ExcelProperty(value = "所属学院", index = 1)
    private String xueyuan;
    /**
     * 所属专业
     */
    @ExcelProperty(value = "所属专业", index = 2)
    private String zhuanye;
    /**
     * 账户
     */
    @ColumnWidth(30) // 定义列宽
    @ExcelProperty(value = "账户", index = 3)
    private String banknum;
    /**
     * 助学金等级
     */
    @ExcelProperty(value = "助学金等级", index = 4)
    private String level;
    /**
     * 金额
     */
    @ExcelProperty(value = "金额", index = 5)
    private String jine;
    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 6)
    private String remark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getXueyuan() {
        return xueyuan;
    }

    public void setXueyuan(String xueyuan) {
        this.xueyuan = xueyuan;
    }

    public String getZhuanye() {
        return zhuanye;
    }

    public void setZhuanye(String zhuanye) {
        this.zhuanye = zhuanye;
    }

    public String getBanknum() {
        return banknum;
    }

    public void setBanknum(String banknum) {
        this.banknum = banknum;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getJine() {
        return jine;
    }

    public void setJine(String jine) {
        this.jine = jine;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}

